Skip to content

Instantly share code, notes, and snippets.

@WitherOrNot
WitherOrNot / htpec.md
Last active August 19, 2026 11:11
asdasd

Notes

These are very disorganized because I wrote these as I reversed various bits and pieces. If I'm wrong about something, please let me know so I can forget to update this.

Logging

For me this was the Achilles' heel, Crackproof creates a debug log if a certain folder in %temp% is present. The folder name is 12 hex characters long, and different between executables. The easiest way to find it is to break on/hook CreateFileW.

Once you create it, any Crackproofed modules will spit out logs as they unpack. Lines contain status codes, indicating roughly what the unpacker is doing at a given time (see below). Lines with additional debug information are also included, sometimes they can be very handy.

@BusBahn
BusBahn / allPokemon.json
Last active August 19, 2026 11:08
Pokemon Data
[
{id: "A1-100", name: "Electrode", picture: "https://assets.tcgdex.net/en/tcgp/A1/100/high.webp"},
{id: "A1-099", name: "Voltoball", picture: "https://assets.tcgdex.net/en/tcgp/A1/099/high.webp"},
{id: "sv01-066", name: "Mareep", picture: "https://assets.tcgdex.net/en/sv/sv01/066/high.webp"},
{id: "swsh3-56", name: "Flaaffy", picture: "https://assets.tcgdex.net/en/swsh/swsh3/56/high.webp"},
{id: "svp-109", name: "Ampharos", picture: "https://assets.tcgdex.net/en/sv/svp/109/high.webp"},
{id: "me02.5-055", name: "Pikachu", picture: "https://assets.tcgdex.net/en/me/me02.5/055/high.webp"},
{id: "svp-106", name: "Pikachu ex", picture: "https://assets.tcgdex.net/en/sv/svp/106/high.webp"},
{id: "sm115-19", name: "Pikachu", picture: "https://assets.tcgdex.net/en/sm/sm115/19/high.webp"},
{id: "smp-SM213", name: "Raichu GX", picture: "https://assets.tcgdex.net/en/sm/smp/SM213/high.webp"},

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@karimlahlou
karimlahlou / fix-t2-macbook.sh
Created August 19, 2026 11:05
Automated fix for Apple T2 MacBook Pro hardware (keyboard, trackpad, Touch Bar, audio) on Ubuntu.
#!/usr/bin/env bash
#
# fix-t2-macbook.sh
# Script to restore Apple T2 drivers, kernel, Touch Bar, and audio support after an OS upgrade.
#
set -euo pipefail
# Ensure the script is run with root privileges
if [ "${EUID}" -ne 0 ]; then
@Ajay-Maury
Ajay-Maury / nest-js-day-3-config-mongodb-crud.md
Last active August 19, 2026 11:00
### [Day 3 – Config, MongoDB & User CRUD](day-3-nestjs-config-mongodb-crud.md) Learn how to manage environment variables with ConfigService, integrate MongoDB using Mongoose, define Schemas & Models, and build a complete User CRUD API with proper error handling.

πŸ“˜ Nest.js Day 3: Database & User CRUD with Validation


image


@poteto
poteto / lauren-tan-speaking.md
Last active August 19, 2026 10:59
Looking for a speaker for your upcoming tech conference? I'm an engineering leader and software engineer at Netflix and have done >15 talks at small to large conferences. I'm interested in speaking about TypeScript, JavaScript, React, GraphQL, Elixir/Phoenix, Microservices, Engineering leadership and/or management
@BlobTheKat
BlobTheKat / a.h
Last active August 19, 2026 10:57
a.h - C11 Atomics & threads complement library
/**
* Atomics & threads complement library
* Matthew Reiner, 2026
* Available under the GPL 3.0 license
* Targeting: Windows, Linux, FreeBSD, NetBSD, OpenBSD, MacOS
* Implements the following:
* - Wait/Notify functionality for simple types up to 64 bit
* - Arbitrary condition wait
* - Fine-grained memory ordering
* - Thread management
BLACK => "\033[30m",
RED => "\033[31m",
GREEN => "\033[32m",
YELLOW => "\033[33m",
BLUE => "\033[34m",
PURPLE => "\033[35m",
CYAN => "\033[36m",
WHITE => "\033[37m",
# background color